﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TTSModel;
using TTSIDAL;

namespace TTSBLL
{
    public class TestStatus : BaseService<TestStatusInfo>
    {
        private static readonly ITestStatus dal = DALFactory.TTS_DataAccess.CreateTestStatus();

        public override void SetCurrentRepository()
        {
            CurrentRepository = dal;
        }


        public TestStatusInfo GetStatusbySN(string sn, string procedure)
        {
            return dal.GetStatusbySN(sn, procedure);
        }
    }
}
